<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.SYS" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.SYS" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:2966/SysApprovalService.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.HRM" />
  <xs:import schemaLocation="http://localhost:2966/SysApprovalService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:import schemaLocation="http://localhost:2966/SysApprovalService.svc?xsd=xsd5" namespace="http://schemas.datacontract.org/2004/07/System" />
  <xs:complexType name="ExecPosGroup">
    <xs:sequence>
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="ExecPosGroupDtlses" nillable="true" type="tns:ArrayOfExecPosGroupDtls" />
      <xs:element minOccurs="0" name="ExecPosGroupId" type="xs:int" />
      <xs:element minOccurs="0" name="ExecPosGroupName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ExecPosGroup" nillable="true" type="tns:ExecPosGroup" />
  <xs:complexType name="ArrayOfExecPosGroupDtls">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ExecPosGroupDtls" nillable="true" type="tns:ExecPosGroupDtls" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfExecPosGroupDtls" nillable="true" type="tns:ArrayOfExecPosGroupDtls" />
  <xs:complexType name="ExecPosGroupDtls">
    <xs:sequence>
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="ExecPosGroup" nillable="true" type="tns:ExecPosGroup" />
      <xs:element minOccurs="0" name="ExecPosGroupDtlsId" type="xs:int" />
      <xs:element minOccurs="0" name="ExecPosGroupId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="ExecPosId" nillable="true" type="xs:int" />
      <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.HRM" minOccurs="0" name="HrmExecutivePosition" nillable="true" type="q1:ExecutivePosition" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ExecPosGroupDtls" nillable="true" type="tns:ExecPosGroupDtls" />
  <xs:simpleType name="CommandAction">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Initial" />
      <xs:enumeration value="Approve" />
      <xs:enumeration value="Forward" />
      <xs:enumeration value="Reject" />
      <xs:enumeration value="Pending" />
      <xs:enumeration value="Information" />
      <xs:enumeration value="SendBack" />
      <xs:enumeration value="Lock" />
      <xs:enumeration value="Cancel" />
      <xs:enumeration value="SendBackOk">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">10</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TakeBack">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">9</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="CommandAction" nillable="true" type="tns:CommandAction" />
  <xs:complexType name="TaskHistory">
    <xs:sequence>
      <xs:element minOccurs="0" name="ActionBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="ActionByFullName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ActionByPosName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ActionCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ApprovePathSimulate" nillable="true" type="tns:ApprovePathSimulate" />
      <xs:element minOccurs="0" name="ApprovedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="ApprovedByFullName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ApprovedByPosName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ApprovedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="ApproverPosId" nillable="true" type="xs:int" />
      <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.HRM" minOccurs="0" name="ApproverPosition" nillable="true" type="q2:Position" />
      <xs:element minOccurs="0" name="ApproverType" type="tns:ApproverType" />
      <xs:element minOccurs="0" name="ApproverTypeText" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CanceledBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CanceledByFullName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CanceledByPosName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CanceledWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="ForwardBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="ForwardByFullName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ForwardByPosName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ForwardWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="FromTaskHistory" nillable="true" type="tns:TaskHistory" />
      <xs:element minOccurs="0" name="FromTaskHistoryId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="IsApproveAble" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsForwardable" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsInRequiringSendBack" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsPendable" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsRejectable" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsSendBackable" type="xs:boolean" />
      <xs:element minOccurs="0" name="PassStep" type="xs:boolean" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RejectedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="RejectedByFullName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RejectedByPosName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RejectedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Remark" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ResultStep" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SendBackBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="SendBackByFullName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SendBackByPosName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SendBackOkBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="SendBackOkByFullName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SendBackOkByPosName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SendBackOkWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="SendBackWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="SimId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="StepNo" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="SystemRemark" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Task" nillable="true" type="tns:Task" />
      <xs:element minOccurs="0" name="TaskHistoryId" type="xs:int" />
      <xs:element minOccurs="0" name="TaskId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TaskHistory" nillable="true" type="tns:TaskHistory" />
  <xs:complexType name="ApprovePathSimulate">
    <xs:sequence>
      <xs:element minOccurs="0" name="AppPathId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="AppPathStepNo" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="AppPathSubStepNo" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="ApprovePath" nillable="true" type="tns:ApprovePath" />
      <xs:element minOccurs="0" name="ApprovePathState" type="tns:ApprovePathState" />
      <xs:element minOccurs="0" name="ApproverPosId" nillable="true" type="xs:int" />
      <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.HRM" minOccurs="0" name="ApproverPosition" nillable="true" type="q3:Position" />
      <xs:element minOccurs="0" name="ApproverType" type="tns:ApproverType" />
      <xs:element minOccurs="0" name="IsApproveAble" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsForwardable" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsLockable" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsPassApproveLine" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsPendable" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsRejectable" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsSendBackable" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsSkip" type="xs:boolean" />
      <xs:element minOccurs="0" name="SimId" type="xs:int" />
      <xs:element minOccurs="0" name="SimulateStepNo" type="xs:int" />
      <xs:element minOccurs="0" name="SystemRemark" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ApprovePathSimulate" nillable="true" type="tns:ApprovePathSimulate" />
  <xs:complexType name="ApprovePath">
    <xs:sequence>
      <xs:element minOccurs="0" name="AmountMax" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="AmountMin" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="AppPrcId" type="xs:int" />
      <xs:element minOccurs="0" name="ApproveProcess" nillable="true" type="tns:ApproveProcess" />
      <xs:element minOccurs="0" name="ApproverType" type="tns:ApproverType" />
      <xs:element minOccurs="0" name="ExecPosId" nillable="true" type="xs:int" />
      <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.HRM" minOccurs="0" name="ExecutivePosition" nillable="true" type="q4:ExecutivePosition" />
      <xs:element minOccurs="0" name="IsApproveAble" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsForwardable" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsLockable" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsPassApproveLine" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsPendable" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsRejectable" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsSendBackable" type="xs:boolean" />
      <xs:element minOccurs="0" name="PosId" nillable="true" type="xs:int" />
      <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.HRM" minOccurs="0" name="Position" nillable="true" type="q5:Position" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="StepNo" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ApprovePath" nillable="true" type="tns:ApprovePath" />
  <xs:complexType name="ApproveProcess">
    <xs:sequence>
      <xs:element minOccurs="0" name="AppPrcGrpId" type="xs:int" />
      <xs:element minOccurs="0" name="AppPrcId" type="xs:int" />
      <xs:element minOccurs="0" name="ApprovePaths" nillable="true" type="tns:ArrayOfApprovePath" />
      <xs:element minOccurs="0" name="ApproveProcessGroup" nillable="true" type="tns:ApproveProcessGroup" />
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IsDefaultProcess" type="xs:boolean" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ApproveProcess" nillable="true" type="tns:ApproveProcess" />
  <xs:complexType name="ArrayOfApprovePath">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ApprovePath" nillable="true" type="tns:ApprovePath" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfApprovePath" nillable="true" type="tns:ArrayOfApprovePath" />
  <xs:complexType name="ApproveProcessGroup">
    <xs:sequence>
      <xs:element minOccurs="0" name="AppPrcGrpId" type="xs:int" />
      <xs:element minOccurs="0" name="ApproveProcesses" nillable="true" type="tns:ArrayOfApproveProcess" />
      <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="DefaultProcessAppPrcId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EntityGroup_ColCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EntityGroup_ColEntityToGroupId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EntityGroup_ColId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EntityGroup_ColName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EntityGroup_ColRecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EntityGroup_ColRecordStatusStatusesUsing" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EntityGroup_IsUse" type="xs:boolean" />
      <xs:element minOccurs="0" name="EntityGroup_TblName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Entity_ColAppPrcIdName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Entity_ColCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Entity_ColId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Entity_ColName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Entity_ColRecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Entity_ColRecordStatusStatusesUsing" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Entity_ColUrlForEditEntityInGroup" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Entity_TblName" nillable="true" type="xs:string" />
      <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/System" minOccurs="0" name="FoundException" nillable="true" type="q6:Exception" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="UseReferenceEntity" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ApproveProcessGroup" nillable="true" type="tns:ApproveProcessGroup" />
  <xs:complexType name="ArrayOfApproveProcess">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ApproveProcess" nillable="true" type="tns:ApproveProcess" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfApproveProcess" nillable="true" type="tns:ArrayOfApproveProcess" />
  <xs:simpleType name="ApproverType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="JobSiteHead" />
      <xs:enumeration value="Position" />
      <xs:enumeration value="PositionGroup" />
      <xs:enumeration value="ExecPositionGroup" />
      <xs:enumeration value="WaitRequesterSendBack" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="ApproverType" nillable="true" type="tns:ApproverType" />
  <xs:simpleType name="ApprovePathState">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Error" />
      <xs:enumeration value="Current" />
      <xs:enumeration value="Pass" />
      <xs:enumeration value="After" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="ApprovePathState" nillable="true" type="tns:ApprovePathState" />
  <xs:complexType name="Task">
    <xs:sequence>
      <xs:element minOccurs="0" name="Amount" type="xs:decimal" />
      <xs:element minOccurs="0" name="AppPrcId" type="xs:int" />
      <xs:element minOccurs="0" name="ApplyToEmpId" type="xs:int" />
      <xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.HRM" minOccurs="0" name="ApplyToEmployee" nillable="true" type="q7:Employee" />
      <xs:element minOccurs="0" name="ApproveAs" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ApproveProcess" nillable="true" type="tns:ApproveProcess" />
      <xs:element minOccurs="0" name="ApprovedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="ApprovedByFullName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ApprovedByPosName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ApprovedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="CanceledBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CanceledByFullName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CanceledByPosName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CanceledWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Completed" type="xs:boolean" />
      <xs:element minOccurs="0" name="CompletedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CompletedByFullName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CompletedByPosName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CompletedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="ConfirmAs" nillable="true" type="xs:string" />
      <xs:element xmlns:q8="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.HRM" minOccurs="0" name="CreateByEmployee" nillable="true" type="q8:Employee" />
      <xs:element minOccurs="0" name="CreateErrorResult" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CreateResult" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="CurrentTaskHistory" nillable="true" type="tns:TaskHistory" />
      <xs:element minOccurs="0" name="CurrentTaskHistoryId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="IsInRequiringSendBack" type="xs:boolean" />
      <xs:element minOccurs="0" name="LastestActionBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="LastestActionByFullName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LastestActionByPosName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LastestActionCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RefCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RefId" type="xs:int" />
      <xs:element minOccurs="0" name="RejectedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="RejectedByFullName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RejectedByPosName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RejectedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Remark" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Simulates" nillable="true" type="tns:ArrayOfApprovePathSimulate" />
      <xs:element minOccurs="0" name="SystemRemark" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TaskHistories" nillable="true" type="tns:ArrayOfTaskHistory" />
      <xs:element minOccurs="0" name="TaskId" type="xs:int" />
      <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Task" nillable="true" type="tns:Task" />
  <xs:complexType name="ArrayOfApprovePathSimulate">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ApprovePathSimulate" nillable="true" type="tns:ApprovePathSimulate" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfApprovePathSimulate" nillable="true" type="tns:ArrayOfApprovePathSimulate" />
  <xs:complexType name="ArrayOfTaskHistory">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="TaskHistory" nillable="true" type="tns:TaskHistory" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfTaskHistory" nillable="true" type="tns:ArrayOfTaskHistory" />
  <xs:complexType name="ArrayOfApproveProcessGroup">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ApproveProcessGroup" nillable="true" type="tns:ApproveProcessGroup" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfApproveProcessGroup" nillable="true" type="tns:ArrayOfApproveProcessGroup" />
  <xs:complexType name="ArrayOfExecPosGroup">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ExecPosGroup" nillable="true" type="tns:ExecPosGroup" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfExecPosGroup" nillable="true" type="tns:ArrayOfExecPosGroup" />
</xs:schema>